from django.urls import path
from apps.usercenter.views import CenterListView, UserNameView, RealNameVerificationView, AvatarView

urlpatterns = [

    # 个人中心展示
    path('api/v1.0/user/', CenterListView.as_view()),

    # 用户名修改
    path('api/v1.0/user/name', UserNameView.as_view()),

    # 上传头像
    path('api/v1.0/user/avatar', AvatarView.as_view()),

    # 实名认证
    path('api/v1.0/user/auth', RealNameVerificationView.as_view()),


]
